<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
	<table cellSpacing="1" cellPadding="0" width="100%" align="center" bgColor="#f5fafe" border="0">
		<TBODY>
		<tr>
			<td class="ta_01" align="center" bgColor="#afd1f3">
				<strong>订单列表</strong>
			</TD>
		</tr>
	<tr>
		<td class="ta_01" align="center" bgColor="#f5fafe">
			<table cellspacing="0" cellpadding="1" rules="all"
				   bordercolor="gray" border="1" id="DataGrid1"
				   style="BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; WIDTH: 100%; WORD-BREAK: break-all; BORDER-BOTTOM: gray 1px solid; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: #f5fafe; WORD-WRAP: break-word">
				<tr
						style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; HEIGHT: 25px; BACKGROUND-COLOR: #afd1f3">

					<td align="center" width="10%">
						商品图片
					</td>
					<td align="center" width="10%">
						订单编号
					</td>
					<td align="center" width="10%">
						订单数量
					</td>
					<td align="center" width="10%">
						订单金额
					</td>
				</tr>
	<c:forEach items="${order.items}" var="item">
	<tr>
		<td style="CURSOR: hand; HEIGHT: 22px" align="center"
			width="18%"><img width="40" height="45" src="${ pageContext.request.contextPath }/${item.product.pimage}"></td>
		<td style="CURSOR: hand; HEIGHT: 22px" align="center"
			width="18%">${item.itemid}</td>
		<td style="CURSOR: hand; HEIGHT: 22px" align="center"
			width="18%">${item.count}</td>
		<td style="CURSOR: hand; HEIGHT: 22px" align="center"
			width="18%">${item.subtotal}</td>
	</tr>
	</c:forEach>

			</table>
		</td>
	</tr>

</table>
<tr>
  <FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>
  <INPUT class="button_ok" type="button" onclick="history.go(-1)" value="返回" style="float: right"/>
  <span id="Label1"></span>
</tr>